<% if turbo_frame_request? && current_theme_preview.nil? %>
  <%= render 'spree/page_sections/product_grid', products: storefront_products.records, section: current_page.sections.find_by(type: 'Spree::PageSections::ProductGrid') %>
<% else %>
  <%= render_page(
    current_page,
    taxon: @taxon,
    collection: @collection,
    products: storefront_products.records,
  ) %>
<% end %>

